<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/jsp/public/head.jsp"></jsp:include>
<link rel="stylesheet" type="text/css"
	href="<c:url value='/js/public/selectDiv/css/cityLayout.css'></c:url>"
	media="all">
<script type="text/javascript"
	src="<c:url value='/js/public/selectDiv/js/selectDiv.js'></c:url>"></script>
<script type="text/javascript"
	src="<c:url value='/js/public/publicSelect.js'></c:url>"></script>

<title>select</title>
<style type="text/css">
.defind-label {
	margin-left: 15px;
	display: inline;
}

.defind-div {
	display: inline-block;
}
</style>
</head>
<body>
	<%-- <div class="row-fluid">
		<div class="span12">
			<div class="box">
				<div class="row-fluid">
					<div class="span12">
						<div class="box-content pull-right ">
							<div class="defind-div">
								<label class="defind-label">物业公司</label> <input id="pp_company"
									type="text" class="input-medium"
									data-oid="${sessionScope.companyId}"
									data-oname="${sessionScope.companyName}" 
 placeholder="输入选择物业公司">
							</div>
							<div class="defind-div">
								<label class="defind-label">小区</label> <input id="community"
									type="text" class="input-medium"
									data-oid="${sessionScope.communityId}"
									data-oname="${sessionScope.communityName}" placeholder="输入选择小区">
							</div>
							<div class="defind-div">
								<!-- <a class="btn pull-right">确定</a> -->
								<input type="button" class="btn" id="search" onclick="clickOk()"
									value="确定">
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div> --%>

	<div class="modal fade hide" id="queryModal" tabindex="-1"
		role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<form class="form-horizontal" name="s_Form" novalidate>

						<div class="form-group" style="display:none" id="sd_company">
							<label class="col-sm-2 control-label">物业公司:</label>
							<div class="controls">
								<input class="col-sm-10" type="text" id="s_company"
									placeholder="输入择物业公司"> <span style="color: red">*</span>
							</div>
						</div>
						<div class="form-group" style="display:none" id="sd_community">
							<label class="col-sm-2 control-label">小区:</label>
							<div class="controls">
								<input class="col-sm-10" type="text" id="s_community"
									class="input-medium search-query" placeholder="输入择小区">
								<span style="color: red">*</span>
							</div>
						</div>
						<div class="form-group" style="display:none" id="sd_building">
							<label class="col-sm-2 control-label">楼栋/单元:</label>
							<div class="controls" style="display: block;">
								<input class="col-sm-10" type="text" id="s_building"
									class="input-medium search-query" placeholder="输入择楼栋/单元">
								<span style="color: red">*</span>

							</div>
						</div>
						<div class="control-group">
							<div class="controls">
								<input id="s_submit_btn" type="button" class="btn btn-primary"
									value="确定"> <input id="reset_btn" type="button"
									class="btn" data-dismiss="modal" value="取消">
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>


	<div id="s_companySelect" class="modal hide fade" tabindex="-1"
		role="dialog" aria-labelledby="s_companySelect" aria-hidden="true"
		style="width: 800px">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="container-fluid">
					<div class="row-fluid">
						<div class="span12">
							<div class="box">
								<div class="box-title">
									<form id="form1" name="form1">
										<div class="form-horizontal ">
											<input id="s_company_keyword" name="keywords"
												class="input-medium" placeholder="请输入关键词" type="text">
											<input type="button" class="btn" id="search"
												onclick="companySearch()" value="查询">
										</div>
									</form>
								</div>
								<div class="box-content">
									<div class="row-fluid dataTables_wrapper">
										<table id="s_companyTable"
											class="table table-bordered table-hover dataTable table-striped ajax-checkbox">
											<thead>
												<tr>
													<th>物业公司名称</th>
													<th>公司电话</th>
													<th>负责人</th>
													<th>联系电话</th>
													<th>有效标志</th>
												</tr>
											</thead>
											<tbody>

											</tbody>
										</table>
										<div class="sabrosus" id="demo"></div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div id="s_communitySelect" class="modal hide fade" tabindex="-1"
		role="dialog" aria-labelledby="s_communitySelect" aria-hidden="true"
		style="width: 800px">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="container-fluid">
					<div class="row-fluid">
						<div class="span12">
							<div class="box">
								<div class="box-title">
									<form id="form1" name="form1">
										<div class="form-horizontal ">
											<input id="s_community_keyword" name="keywords"
												class="input-medium" placeholder="请输入关键词" type="text">
											<input type="button" class="btn" id="search"
												onclick="communitySearch()" value="查询">
										</div>
									</form>
								</div>
								<div class="box-content">
									<div class="row-fluid dataTables_wrapper">
										<table id="s_communityTable"
											class="table table-bordered table-hover dataTable table-striped ajax-checkbox">
											<thead>
												<tr>
													<th>物业公司名称</th>
													<th>小区名称</th>
													<th>小区电话</th>
													<th>负责人</th>
													<th>联系电话</th>
													<th>有效标志</th>
												</tr>
											</thead>
											<tbody>

											</tbody>
										</table>
										<div class="sabrosus" id="demo"></div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>